Automattic\Jetpack\Sync\Queue\Queue_Storage_Table A

Total Complexity 51
Dependencies 5
Dependents 3
Total lines 672
Lines of code 346
Logical lines of code 142
Comment lines 225
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
is_custom_table_healthy()
A
50 9 26
migrate_from_options_table_to_custom_table()
A
40 5 68
migrate_from_custom_table_to_options_table()
S
46 5 42
get_item_count()
S
52 4 23
get_lag()
S
54 4 21
add_all()
S
54 4 20
custom_table_exists()
S
62 4 11
fetch_items()
S
52 2 35
fetch_items_by_ids()
S
55 3 19
create_table()
S
59 1 18
drop_table()
S
70 2 6
initialize_custom_sync_table()
S
69 2 7
__construct()
S
66 2 8
insert_item()
S
62 1 12
get_items_ids_with_size()
S
64 1 11
clear_queue()
S
66 1 9
delete_items_by_ids()
S
63 1 10